<h1>Nueva Investigacion de <%= @cultural_heritage_cultural_heritage.name %> (<%= @cultural_heritage_cultural_heritage.nationalRegistrationCode %>)</h1>

<%= javascript_include_tag "application" %>
<%= form_for @cultural_heritage_cultural_heritage_research, :url=>{:action=>'create_research'},  :html => { :multipart => true } do |f| %>
  <% if @cultural_heritage_cultural_heritage_research.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@cultural_heritage_cultural_heritage_research.errors.count, "error") %> prohibited this cultural_heritage_cultural_heritage_avatar from being saved:</h2>

      <ul>
      <% @cultural_heritage_cultural_heritage_research.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>
<div class="shadow">
<fieldset id="agrupacion">
  <legend>Investigacion</legend>
  <div class="field">
    <label>Título:</label>
    <%= f.text_field :title %>
  </div>
  <div class="field">
    <label>Descripción:</label>
    <%= f.text_area :description %>
  </div>
  <div class="field">
    <label>Investigacion:</label>
    <%= f.file_field :research %>
  </div>
  <%= hidden_field_tag :id, @cultural_heritage_cultural_heritage.id  %>
</fieldset>
  <div class="actions">
    <%= f.submit "Enviar" %>
  </div>
</div>
<% end %>

<%= link_to 'Regresar',{:controller=>"/cultural_heritage/cultural_heritage_properties",:action => 'researches',:id => @cultural_heritage_cultural_heritage_research.cultural_heritage}%>
